package org.thread.test05.syn.homework.demo01;

/**
 * @author CSY
 * @date 2025 - 03 - 12
 */
public class MainTest {

    public static void main(String[] args) {
        Account a = new Account();
        MyRunnable mr1 = new MyRunnable(a,3000);
        MyRunnable mr2 = new MyRunnable(a,4000);
        Thread t1 = new Thread(mr1);
        Thread t2 = new Thread(mr2);
        t1.start();
        t2.start();
    }
}
